Skip to content

Conversation

@97morningstar
Copy link
Member

Issue #27

A more organized approach was needed so a folder named "render" was created for all render settings.

Inside, the following files were created:

  • encoder-settings
  • keyframes
  • settings-controller

The original plan was to have all settings as prop functions of the class SettingsController, have a prop component of this class in RenderSettingsPanel that receives a mapDataGlobal object with all data from kepler, then this SettingsController prop would be passed to all places where a settings function is needed.

Instead, all functions were relocated to the new files created and called directly. The mapDataGlobal object could not be passed.

The following changes are present because I tried to run the demo on a GitHub page:

  • examples/demo-app/package.json

The tilelayer was commented for the moment and the mapbox canvas restored in src/components/scene.js

@@ -0,0 +1,18 @@
import React, {Component} from 'react';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need this import

webm:{
quality: 1.5
},
filename: "Default Video Name" + " " + moment().format(DEFAULT_TIME_FORMAT).toString()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll probably need to import moment and define DEFAULT_TIME_FORMAT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants